package cn.edu.zafu.bigdata.yh;
public class Car2 implements Movable {
    // 实现move()方法
    @Override
    public void move() {
        System.out.println("The car is moving.");
    }

    // 实现stop()方法
    @Override
    public void stop() {
        System.out.println("The car has stopped.");
    }
}

